home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 4,101 to 4,200
/
aol-file-protocol-4400-4101-to-4200.zip
/
AOLDLs
/
ADV - Message Board Archives
/
Archived Msgs_ Event Manager
/
ADV.EVTMGR.shk
/
ADV.EvtMgr.Log
Wrap
Text File
|
1992-09-13
|
6KB
|
190 lines
=======================================================================
Archived Messages: "Event Manager"
America Online Apple II Developers Forum.
Go Keyword ADV!
(C) 1992.
===================================================================jrm=
This topic is for the discussion of the Apple IIGS Event Manager (tool set #6).
Type: Response
From: FL Jim
Date: 88-04-04 12:31:47 EST
Re: Re: Event Manager
Moved Message
Subj: Event Manager 88-03-30 21:46:39 EDT
From: BobH56 Msgs: 4 (88-04-02)
The routine, GetMouse, is acting kinda funny. When the taskmaster returns
'wInContent', I have a routine that gets the mouse location and stores it then
redraws the window (I'm using TML Pascal). When I get location from GetMouse,
the exact location of point in the window is about 20 pixels to the right and
50 pixels to the bottom. Why is this so?
If someone wants, I can upload the section of program.
Bob
Type: Response
From: FL Jim
Date: 88-04-04 12:32:30 EST
Re: Re: Event Manager
Moved Message
Subj: Re: GetMouse 88-03-31 02:08:43 EDT
From: A2Pro Tim
Bob,
Are you sure that you're using the proper coordinate system??? Some
things are done in global (with respect to the upper left corner of the screen)
and somethings are done in local (with respect to the upper left corner of that
window)... I use two NDA's to help me with fine tuning layouts: Mr. Mouse
and Mouse Locator. One of them is by Gary Little and the other one is by ???
(I'll have to look at the copyright again). One of those returns global coords
for the pointer and the other returns local!!! Make figuring things like your
problem out a LOT easier!!
Tim S.
Type: Response
From: FL Jim
Date: 88-04-04 12:33:15 EST
Re: ent Manager
Moved Message
Subj: Re: get mouse 88-03-31 20:22:59 EDT
From: AIIDTS
Sounds like a confusion between global and local coords to me... you know that
getmouse returns with local coords, so if your routine is designed to process
the event.where and the getmouse data, it would have to special case it.
Jim
Type: Response
From: FL Jim
Date: 88-04-04 12:33:46 EST
Re: Re: Event Manager
Moved Message
Subj: Re: Event Manager 88-04-02 21:35:53 EDT
From: BobH56
Here's the solution to the problem: Set the GrafPort to the window that you
want to work on then do a 'GetMouse' and the point will be in that window.
Bob
Type: Response
From: Dave Lyons
Date: 88-08-22 23:45:33 EST
Re: Two buttons??
The event manager appears to support two buttons, but Apple's mouse has only
one.
Presumably a device driver (probably using the FakeMouse routine) could provide
two buttons--is anybody selling a two-button mouse or other device with two
buttons?
Is anyone writing software that supports the second button? (I think not. A
good use for the second button might be to treat it as a Shift-click of the
first button.)
(I wonder how many people bother hitting Apple-6 to see this folder....)
Type: Response
From: AFL Jim
Date: 88-08-23 12:32:57 EST
Re: Re: Event Manager
I don't know of any two button devices, but I do hit OA-6 daily :)
Type: Response
From: JimMensch
Date: 89-08-22 20:28:03 EST
Re: Re: Event Manager
two button mice are a bad idea currently. It seems that everyone who has
implemented any application on the GS does not check which button is being
pressed, hence, both buttons would almost always work the same...
Mensch
Type: Response
From: AFA Gary J
Date: 90-09-05 01:08:59 EST
Re: Event Manager and Mouse (moved)
Subj: Event Manager and Mouse 89-11-04 17:00:04 EDT
From: DanielWest Msgs: 3 (89-11-07)
I want to be able to use the tools GetMouse and Button but the event manager,
once started is getting in my way. It displays the cursor, which I do not
need, as this is not a desk top application. The only reason I started it was
to get at the mouse calls, but if anyone knows how I can read the mouse without
it, or with it disabled or something, I'd like to know. IT slows everything
down when you move the mouse, probably logging events I have no interest in
using. Should I forgo the mouse for a joystick? I like the mouse and would
like a simple tool call to use it.
Subj: Well.... 89-11-06 23:04:22 EDT
From: JonahS
If it's just the cursor eing visible that's bugging you, you could try
_HideCursor to, you guessed it, hide the cursor.
Subj: Reading the Mouse 89-11-07 01:52:00 EDT
From: Dave Lyons
Or, if you just want to use the mouse & not the event manager, you can use the
mous calls that are in the Miscellaneous Tools (see TB Reference volume 1).
--Dave
Type: Response
From: AFA Gary J
Date: 90-09-05 23:32:22 EST
Re: Event Manager (moved messages)
Subj: Event Mgr ( again! ) 90-06-10 22:12:09 EDT
From: CodeMaster Msgs: 2 (90-06-13)
Can anyone tell me the difference between :
$0A06 GetNextEvent and $1606 GetOSEvent ?
Thanks!
Subj: Differences.... 90-06-13 01:27:17 EDT
From: Coach101
A more complete explanation can be found on pages 7-39 through 7-41 of Toolbox
reference 1, but, in a nutshell, whey you call GetNextEvent, the event manager
will pass window type events past the DeskManager to see if a NDA needs to
handle the event. GetNextOSEvent avoids this step (i.e., you get the event and
the NDAs do not get a chance at the event). At least that is the way I
interpret the manuals.